package com.qmctl.rest.entity;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.qmctl.rest.bean.entroyorder.EntryOrderClazz;

import java.io.Serializable;
@SuppressWarnings("serial")
@Entity
@Table(name="tEntryOrderHandleInfo",schema="")
public class EntryOrderHandleInfo implements Serializable{
  @Id
  private String entryOrderId;
  private long totalOrderLines;
  private String entryOrderCode;
  private String ownerCode;
  private String purchaseOrderCode;
  private String warehouseCode;
  private String orderCreateTime;
  private String orderType;
  private String status;
  private String sendflag;
  private String destination;
  private String expectStartTime;
  private String expectEndTime;
  private String logisticsCode;
  private String logisticsName;
  private String expressCode;
  private String supplierCode;
  private String supplierName;
  private String operatorCode;
  private String operatorName;
  private String operateTime;
  private String senderId;
  private String receiverId;
  private String key1;
  private String key2;
  private long confirmType;
  public EntryOrderHandleInfo(){
  }
  public EntryOrderHandleInfo(EntryOrderClazz BeanClazz){
   // entryOrderId = BeanClazz.getEntryOrderId();
    totalOrderLines = BeanClazz.getTotalOrderLines();
    entryOrderCode = BeanClazz.getEntryOrderCode();
    ownerCode = BeanClazz.getOwnerCode();
    purchaseOrderCode = BeanClazz.getPurchaseOrderCode();
    warehouseCode = BeanClazz.getWarehouseCode();
    orderCreateTime = BeanClazz.getOrderCreateTime();
    orderType = BeanClazz.getOrderType();
   // status = BeanClazz.getStatus();
   // sendflag = BeanClazz.getSendflag();
   // destination = BeanClazz.getDestination();
    expectStartTime = BeanClazz.getExpectStartTime();
    expectEndTime = BeanClazz.getExpectEndTime();
    logisticsCode = BeanClazz.getLogisticsCode();
    logisticsName = BeanClazz.getLogisticsName();
    expressCode = BeanClazz.getExpressCode();
    supplierCode = BeanClazz.getSupplierCode();
    supplierName = BeanClazz.getSupplierName();
    operatorCode = BeanClazz.getOperatorCode();
    operatorName = BeanClazz.getOperatorName();
    operateTime = BeanClazz.getOperateTime();
   // senderId = BeanClazz.getSenderId();
   // receiverId = BeanClazz.getReceiverId();
    key1 =  BeanClazz.getExtendProps()!=null?BeanClazz.getExtendProps().getKey1():"";
    key2 = BeanClazz.getExtendProps()!=null?BeanClazz.getExtendProps().getKey2():"";
  }
  public String getEntryOrderId(){
    return entryOrderId;
  }
  public void setEntryOrderId(String sEntryOrderId){
    entryOrderId = sEntryOrderId;
  }
  public long getTotalOrderLines(){
    return totalOrderLines;
  }
  public void setTotalOrderLines(long iTotalOrderLines){
    totalOrderLines= iTotalOrderLines;
  }
  public String getEntryOrderCode(){
    return entryOrderCode;
  }
  public void setEntryOrderCode(String sEntryOrderCode){
    entryOrderCode = sEntryOrderCode;
  }
  public String getOwnerCode(){
    return ownerCode;
  }
  public void setOwnerCode(String sOwnerCode){
    ownerCode = sOwnerCode;
  }
  public String getPurchaseOrderCode(){
    return purchaseOrderCode;
  }
  public void setPurchaseOrderCode(String sPurchaseOrderCode){
    purchaseOrderCode = sPurchaseOrderCode;
  }
  public String getWarehouseCode(){
    return warehouseCode;
  }
  public void setWarehouseCode(String sWarehouseCode){
    warehouseCode = sWarehouseCode;
  }
  public String getOrderCreateTime(){
    return orderCreateTime;
  }
  public void setOrderCreateTime(String sOrderCreateTime){
    orderCreateTime = sOrderCreateTime;
  }
  public String getOrderType(){
    return orderType;
  }
  public void setOrderType(String sOrderType){
    orderType = sOrderType;
  }
  public String getStatus(){
    return status;
  }
  public void setStatus(String sStatus){
    status = sStatus;
  }
  public String getSendflag(){
    return sendflag;
  }
  public void setSendflag(String sSendflag){
    sendflag = sSendflag;
  }
  public String getDestination(){
    return destination;
  }
  public void setDestination(String sDestination){
    destination = sDestination;
  }
  public String getExpectStartTime(){
    return expectStartTime;
  }
  public void setExpectStartTime(String sExpectStartTime){
    expectStartTime = sExpectStartTime;
  }
  public String getExpectEndTime(){
    return expectEndTime;
  }
  public void setExpectEndTime(String sExpectEndTime){
    expectEndTime = sExpectEndTime;
  }
  public String getLogisticsCode(){
    return logisticsCode;
  }
  public void setLogisticsCode(String sLogisticsCode){
    logisticsCode = sLogisticsCode;
  }
  public String getLogisticsName(){
    return logisticsName;
  }
  public void setLogisticsName(String sLogisticsName){
    logisticsName = sLogisticsName;
  }
  public String getExpressCode(){
    return expressCode;
  }
  public void setExpressCode(String sExpressCode){
    expressCode = sExpressCode;
  }
  public String getSupplierCode(){
    return supplierCode;
  }
  public void setSupplierCode(String sSupplierCode){
    supplierCode = sSupplierCode;
  }
  public String getSupplierName(){
    return supplierName;
  }
  public void setSupplierName(String sSupplierName){
    supplierName = sSupplierName;
  }
  public String getOperatorCode(){
    return operatorCode;
  }
  public void setOperatorCode(String sOperatorCode){
    operatorCode = sOperatorCode;
  }
  public String getOperatorName(){
    return operatorName;
  }
  public void setOperatorName(String sOperatorName){
    operatorName = sOperatorName;
  }
  public String getOperateTime(){
    return operateTime;
  }
  public void setOperateTime(String sOperateTime){
    operateTime = sOperateTime;
  }
  public String getSenderId(){
    return senderId;
  }
  public void setSenderId(String sSenderId){
    senderId = sSenderId;
  }
  public String getReceiverId(){
    return receiverId;
  }
  public void setReceiverId(String sReceiverId){
    receiverId = sReceiverId;
  }
  public String getKey1(){
    return key1;
  }
  public void setKey1(String sKey1){
    key1 = sKey1;
  }
  public String getKey2(){
    return key2;
  }
  public void setKey2(String sKey2){
    key2 = sKey2;
  }
public long getConfirmType() {
	return confirmType;
}
public void setConfirmType(long confirmType) {
	this.confirmType = confirmType;
}
}
